package org.itboys.cook.util;


import org.itboys.commons.utils.time.TimeUtils;

import java.util.Date;

public class TestList {
    public static void main(String[] args) {
        Date now=new Date();
        System.out.println(TimeUtils.format(now,"yyyy-MM-dd"));
        now.setDate(now.getDate()+20);
        System.out.println(TimeUtils.format(now,"yyyy-MM-dd"));
        Date now2=new Date();
        System.out.println(TimeUtils.format(now2,"yyyy-MM-dd"));
        now2.setMonth(now.getMonth()+7);
        System.out.println(TimeUtils.format(now2,"yyyy-MM-dd"));
        Date now3=new Date();
        System.out.println(TimeUtils.format(now3,"yyyy-MM-dd"));
        now3.setYear(now.getYear()+2);
        System.out.println(TimeUtils.format(now3,"yyyy-MM-dd"));


       /* Double a=1.59;
        int b=746;
        String c = String.valueOf(Double.valueOf(b)/a);
        c=c.substring(0,c.indexOf("."));
       // System.out.print(Integer.valueOf(c));



        Date now=new Date();
        System.out.println(TimeUtils.format(now,"yyyy-MM-dd"));
        now.setDate(now.getDate()+20);
        System.out.println(TimeUtils.format(now,"yyyy-MM-dd"));
        for(int i=0;i<5;i++){

        }*/

       // System.out.print(Integer.valueOf(String.valueOf(Double.valueOf(b)/a)));
	}
}

